package com.hznu.jspFinal.dao;

import com.hznu.jspFinal.entity.School;

import java.util.List;

public interface SchoolMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(School record);

    int insertSelective(School record);

    School selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(School record);

    int updateByPrimaryKey(School record);

    School selectBySchoolName(String name);

    List<School> selectAll();
}